package com.bj58.mis.apm.server.kylinreceive.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name="kylin_job_step")
public class KylinJobStep implements Serializable {

  @Id
  private String id;
  private String name;
  private String interruptCmd1;
  private Long sequenceId;
  private String execCmd;
  private String interruptCmd2;
  private Date execStartTime;
  private Date execEndTime;
  private Long execWaitTime;
  private String stepStatus;
  private String cmdType;
  private Boolean runAsync;
  private String info;
  private String jobId;
  private Long duration;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Long getSequenceId() {
    return sequenceId;
  }

  public void setSequenceId(Long sequenceId) {
    this.sequenceId = sequenceId;
  }

  public String getExecCmd() {
    return execCmd;
  }

  public void setExecCmd(String execCmd) {
    this.execCmd = execCmd;
  }

  public String getInterruptCmd1() {
    return interruptCmd1;
  }

  public void setInterruptCmd1(String interruptCmd1) {
    this.interruptCmd1 = interruptCmd1;
  }

  public String getInterruptCmd2() {
    return interruptCmd2;
  }

  public void setInterruptCmd2(String interruptCmd2) {
    this.interruptCmd2 = interruptCmd2;
  }

  public Date getExecStartTime() {
    return execStartTime;
  }

  public void setExecStartTime(Date execStartTime) {
    this.execStartTime = execStartTime;
  }

  public Date getExecEndTime() {
    return execEndTime;
  }

  public void setExecEndTime(Date execEndTime) {
    this.execEndTime = execEndTime;
  }

  public Long getExecWaitTime() {
    return execWaitTime;
  }

  public void setExecWaitTime(Long execWaitTime) {
    this.execWaitTime = execWaitTime;
  }

  public String getStepStatus() {
    return stepStatus;
  }

  public void setStepStatus(String stepStatus) {
    this.stepStatus = stepStatus;
  }

  public String getCmdType() {
    return cmdType;
  }

  public void setCmdType(String cmdType) {
    this.cmdType = cmdType;
  }

  public Boolean getRunAsync() {
    return runAsync;
  }

  public void setRunAsync(Boolean runAsync) {
    this.runAsync = runAsync;
  }

  public String getInfo() {
    return info;
  }

  public void setInfo(String info) {
    this.info = info;
  }

  public String getJobId() {
    return jobId;
  }

  public void setJobId(String jobId) {
    this.jobId = jobId;
  }

  public Long getDuration() {
    return duration;
  }

  public void setDuration(Long duration) {
    this.duration = duration;
  }
}
